package STUDENT.TRINHQUANGXUANDUC.OPPS.TAMGIAC;

import java.util.Scanner;

public class Views {
	public static void main(String[] args) {
		Controllers tControllers = new Controllers();
		Scanner sc = new Scanner(System.in);
		TamgiacObject object = new TamgiacObject();
		System.out.println("Nhap do dai canh thu nhat: ");
		object.setSide1(sc.nextDouble());
		System.out.println("Nhap do dai canh thu hai:");
		sc = new Scanner(System.in);
		object.setSide2(sc.nextDouble());
		System.out.println("Nhap do dai canh thu ba: ");
		sc = new Scanner(System.in);
		object.setSide3(sc.nextDouble());
		System.out.println(tControllers.Tinhuvi(object));
	}
}
